import java.util.Scanner;
//函数重载
public class J1504 {
    public static int sum(int a, int b){
        if(a - b >= 0){
            return a;
        }else{
            return b;
        }
    }
    public static double sum(double c, double d, double e){
        double max = Double.MIN_VALUE;
        for(int i = 1; i <= 3; i++){
            if(c > max){
                max = c;
                c = d;
                d = e;
            }
        }
        return max;
    }
    public static void main(String[] args) {
        Scanner in= new Scanner(System.in);
        int a = 10;
        int b = 20;
        double c = 13.1;
        double d = 0.04;
        double e = 0.0052;
        System.out.println(sum(a, b));
        System.out.println(sum(c, d, e));
    }
}
